Ignore the flaky lock test on older windows
authorNipunn Koorapati <nipunn1313@gmail.com>
Tue, 15 Nov 2016 17:51:12 +0000 (09:51 -0800)
committerNipunn Koorapati <nipunn1313@gmail.com>
Tue, 15 Nov 2016 17:51:12 +0000 (09:51 -0800)
tests/concurrent.rs

index a2b827f565dd33d600af2b37bb5999b151851040..bd3963d09aa99ff238e06b073f419d40fdedd26f 100644 (file)
@@ -343,7 +343,9 @@ fn same_project() {
 
 // Make sure that if Cargo dies while holding a lock that it's released and the
 // next Cargo to come in will take over cleanly.
+// older win versions don't support job objects, so skip test there
 #[test]
+#[cfg_attr(target_env = "msvc", ignore)]
 fn killing_cargo_releases_the_lock() {
     let p = project("foo")
         .file("Cargo.toml", r#"
@@ -496,4 +498,4 @@ fn no_deadlock_with_git_dependencies() {
         assert_that(result, execs().with_status(0))
     }
 
-}
\ No newline at end of file
+}